﻿using DevExpress.XtraEditors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Rail.Demo.Viewer
{
    public class DemoForm2:XtraForm
    {
        public System.Windows.Forms.NumericUpDown Value1;
        public System.Windows.Forms.NumericUpDown Value2;
        public System.Windows.Forms.TextBox Result;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.DataGridView m_DataGridView;
        private Button m_ButtonQuery;
        private System.Windows.Forms.Label label1;
        public DemoForm2()
        {
            InitializeComponent();
        }
        public Button ButtonQuery
        {
            get { return m_ButtonQuery; }
        }
        public DataGridView DataGridView
        {
            get { return m_DataGridView; }
        }

        private void InitializeComponent()
        {
            this.label1 = new System.Windows.Forms.Label();
            this.Value1 = new System.Windows.Forms.NumericUpDown();
            this.Value2 = new System.Windows.Forms.NumericUpDown();
            this.Result = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.m_DataGridView = new System.Windows.Forms.DataGridView();
            this.m_ButtonQuery = new System.Windows.Forms.Button();
            ((System.ComponentModel.ISupportInitialize)(this.Value1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Value2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.m_DataGridView)).BeginInit();
            this.SuspendLayout();
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(207, 14);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(11, 14);
            this.label1.TabIndex = 2;
            this.label1.Text = "-";
            // 
            // Value1
            // 
            this.Value1.Location = new System.Drawing.Point(81, 12);
            this.Value1.Name = "Value1";
            this.Value1.Size = new System.Drawing.Size(120, 22);
            this.Value1.TabIndex = 3;
            // 
            // Value2
            // 
            this.Value2.Location = new System.Drawing.Point(228, 12);
            this.Value2.Name = "Value2";
            this.Value2.Size = new System.Drawing.Size(120, 22);
            this.Value2.TabIndex = 4;
            // 
            // Result
            // 
            this.Result.Location = new System.Drawing.Point(398, 12);
            this.Result.Name = "Result";
            this.Result.Size = new System.Drawing.Size(100, 22);
            this.Result.TabIndex = 5;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(364, 15);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(16, 14);
            this.label2.TabIndex = 6;
            this.label2.Text = "=";
            // 
            // m_DataGridView
            // 
            this.m_DataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.m_DataGridView.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.m_DataGridView.Location = new System.Drawing.Point(0, 96);
            this.m_DataGridView.Name = "m_DataGridView";
            this.m_DataGridView.RowTemplate.Height = 23;
            this.m_DataGridView.Size = new System.Drawing.Size(620, 172);
            this.m_DataGridView.TabIndex = 7;
            // 
            // m_ButtonQuery
            // 
            this.m_ButtonQuery.Location = new System.Drawing.Point(249, 67);
            this.m_ButtonQuery.Name = "m_ButtonQuery";
            this.m_ButtonQuery.Size = new System.Drawing.Size(320, 23);
            this.m_ButtonQuery.TabIndex = 8;
            this.m_ButtonQuery.Text = "查询数据库并显示到表格";
            this.m_ButtonQuery.UseVisualStyleBackColor = true;
            // 
            // DemoForm2
            // 
            this.ClientSize = new System.Drawing.Size(620, 268);
            this.Controls.Add(this.m_ButtonQuery);
            this.Controls.Add(this.m_DataGridView);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.Result);
            this.Controls.Add(this.Value2);
            this.Controls.Add(this.Value1);
            this.Controls.Add(this.label1);
            this.Name = "DemoForm2";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.TopMost = true;
            ((System.ComponentModel.ISupportInitialize)(this.Value1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Value2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.m_DataGridView)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
    }
}
